package com.ly.lyyudao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ly.lyyudao.domain.pojo.Users;
import com.ly.lyyudao.service.UsersService;
import com.ly.lyyudao.mapper.UsersMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class UsersServiceImpl extends ServiceImpl<UsersMapper, Users>
    implements UsersService{

    @Autowired
    private UsersMapper usersMapper;

    @Override
    public List<String> findPermsByUserId(Long id) {
        return usersMapper.findPermsByUserId(id);
    }
}




